import { dict } from '@fast-crud/fast-crud'

export const diskTypeDict = dict({
  data: [
    {
      value: 'SAS',
      label: '高IO云硬盘 SAS'
    },
    {
      value: 'GPSSD',
      label: '通用型SSD云硬盘 GPSSD'
    },
    {
      value: 'SSD',
      label: '超高IO云硬盘 SSD'
    },
    {
      value: 'ESSD',
      label: '极速IO云硬盘 ESSD'
    },
    {
      value: 'GPSSD2',
      label: '通用型SSD V2云硬盘 GPSSD2'
    },
    {
      value: 'ESSD2',
      label: '极速型SSD V2云硬盘 ESSD2'
    }
  ]
})

export const netChargemodeDict = dict({
  data: [
    {
      label: '按流量',
      value: 'traffic'
    },
    {
      label: '按带宽',
      value: 'null'
    }
  ]
})

export const netSharetypeDict = dict({
  data: [
    {
      label: 'PER独享',
      value: 'PER'
    }
  ]
})

export const serverChargingModeDict = dict({
  data: [
    {
      label: '按需付费',
      value: 'postPaid'
    },
    {
      label: '包年包月',
      value: 'prePaid'
    }
  ]
})

export const serverPeriodTypeDict = dict({
  data: [
    {
      label: '按月',
      value: 'month'
    },
    {
      label: '按年',
      value: 'year'
    }
  ]
})
